/* 容器 */
.navs {
    width: 80%;
    max-width: 1200px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 15px; /* 控制卡片之间的间距 */
}

/* 每个帖子 */
.navs li {
    list-style: none;
    display: flex;
    height: 189px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

/* 鼠标悬停时的卡片效果 */
.navs li:hover {
    background-color: #f5f5f5;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* a 标签，确保内部内容排列 */
.navs li a {
    display: flex;
    text-decoration: none;
    color: #333;
    width: 100%;
    padding: 15px;
}

/* 左侧图片部分 */
.navs li a .left {
    flex: 1;  /* 宽度占比 30% */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.navs li a .left img {
    width: auto;
    height: 80%;
    border-radius: 8px;
    /*object-fit: cover;*/
}

/* 右侧文字内容 */
.navs li a .right {
    flex: 3;
    display: flex;
    height: 100%;
    align-items: flex-start;
    text-align: left;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px 0;
}

/* 标题 */
.navs li a .right h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

/* 描述 */
.navs li a .right .desc {
    font-size: 14px;
    color: #555;
    margin: 0;
    padding-bottom: 10px; /* 控制间距 */
}

/* 文章信息 */
.navs li a .right .info {
    font-size: 12px;
    color: #888;
    margin-top: auto;
}

/* 底部提示信息 */
.bottom_info {
    text-align: center;
    font-size: 14px;
    color: #777;
    margin-top: 10px;
    padding: 10px;
}

/* 创建帖子按钮容器 */
.create-post {
    display: flex;
    justify-content: flex-end; /* 右对齐 */
    padding: 10px 40px; /* 控制与周围的间距 */
}

/* 按钮样式 */
.create-post a {
    display: inline-block;
    background-color: #c45666;
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

/* 鼠标悬停时的效果 */
.create-post a:hover {
    background-color: #a53d52;
}
